package com.lh.web.service.serviceAdmin.shop;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lh.common.entity.admin.Column;
import com.lh.common.enums.ColumnTypeEnum;
import com.lh.common.utils.PageUtils;

import java.util.List;
import java.util.Map;

/**
 * @author FH
 * @ClassName: ColumnService
 * @Description: (类作用)
 * @date: 2020-06-29 10:59
 */
public interface ColumnService extends IService<Column> {

    PageUtils queryColumnList(Map<String, Object> param, Integer pageNum, Integer pageSize);

    Column getColumnName(String name);

    int addColumn(Column column);

    int updateColumn(Column column);

    int updateColumnStatus(Column column);

    int deleteColumn(Long id);

    Column getColumnDetails(Long id, ColumnTypeEnum type);

    int queryColumnCount();
}
